let config = {
    db: {
        user: 'devtest',
        host: '172.21.46.201',
        database: 'doc',
        password: 'cmcc2021',
        port: 5432,
        max: 300,
        maxUses: 7500
    },
    batchSize: 100,
    profile: 'dev',
    port: 19999,
    jasypt: '1qaz2wsx',
    root: '',
    favicon: '/static/favicon.ico',
    static: '/static',
    sessionKeys: 'data-proxy',
    views: '/views',
    // upload file dir
    upload: __dirname + '/static/upload',
    crashPath: '/xxx/creash --host ""',
    // default
    formLimit: 2 * 1024 * 1024,
    maxFileSize: 1024 * 1024 * 1024,

    // 中间件顺序
    middleware: ['koa-body']
};

module.exports = config;
